<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">DANH SÁCH TÀI KHOẢN  </p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">
<?php
	if($data)
	{
			echo '<table width = "700" cellpadding = "2" cellspacing = "2" border = "0" align = "center" bgcolor = "#D4D0C8">';
			echo '<tr> 
				<td width = "200" >  <b> Tên tài khoản </b> </td>
				<td width = "100" >  <b> Số Điện Thoại </b>  </td>
				<td width = "100" align = "center" >  <b> Quyền </b> </div> </td>
					<td width = "100" valign = "top"> <div align = "center"> <b> Email </b> </div> </td>
						<td width = "100" valign = "top"> <div align = ""> <b> Đia Chỉ </b> </div> </td>
				<td width = "50" valign = "top"> <div align = "center"> <img src="public/images/b_edit.png"/> Sửa</div> </td>
				<td width = "50" valign = "top"> <div align = "center"> <img src="public/images/b_drop.png"/> Xóa </div> </td>
			</tr>';
		foreach ($data['list'] as $key => $value) {
			echo '<tr> 
				<td width = "200" valign = "top"> <div align = "">'.$value['TenUser'].'</div> </td>
				<td width = "100" valign = "top"> <div align = "">'.$value['DienThoai'].'</div> </td>
				<td width = "100" valign = "top"> <div align = "center">'.$value['Quyen'].'</div> </td>
				<td width = "100" valign = "top"> <div align = "">'.$value['Email'].'</div> </td>
				<td width = "100" valign = "top"> <div align = "">'.$value['DiaChi'].'</div> </td>
				<td width = "50" valign = "top"> <div align = "center"> <a href = "admin.php?mod=updateuser&ma='.$value['MaUser'].'"> Sửa </a></div> </td>
				<td width = "50" valign = "top"> <div align = "center"> <a href = "admin.php?mod=deluser&ma='.$value['MaUser'].'"> Xóa </a> </div> </td>
				
				</tr>';
		}
		echo '</table>';
	}
?>
</div>
</div>
